projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e7e6b
)
* buffer.c (Fother_buffer): Use SREF when retrieving a byte from
author
Ken Raeburn
<raeburn@raeburn.org>
Tue, 16 Jul 2002 15:48:54 +0000
(15:48 +0000)
committer
Ken Raeburn
<raeburn@raeburn.org>
Tue, 16 Jul 2002 15:48:54 +0000
(15:48 +0000)
a string.
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index 2a42164af25284af66f06bb1635ea06ba695e168..8aba88d0db95221907336c46872d32f47a1ad0fe 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1163,7
+1163,7
@@
If BUFFER is omitted or nil, some interesting buffer is returned. */)
buf = Fcdr (Fcar (tail));
if (EQ (buf, buffer))
continue;
- if (S
DATA (XBUFFER (buf)->name)[0]
== ' ')
+ if (S
REF (XBUFFER (buf)->name, 0)
== ' ')
continue;
/* If the selected frame has a buffer_predicate,
disregard buffers that don't fit the predicate. */